package cn.nkjobsearch.main;

public class SegmentAnalyseController {
	
	public static int TIMER = 0;
	public static int DELAY_SECONDS = 10;
	public void go() {
		SegmentAnalyse sa = new SegmentAnalyse();
		sa.run();
	}
	
	/*public void go() {
		SegmentAnalyse sa = new SegmentAnalyse();
		while (true) {
			sa.start();
			try {
				Thread.sleep(2000);
				TIMER += 2;
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			if (TIMER >= DELAY_SECONDS) {
				sa.close();
				sa.stop();
				System.out.println("Interrup!");
				sa = new SegmentAnalyse();
				TIMER = 0;
			}
		}
	}*/
}
